<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- basic -->
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!-- mobile metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="viewport" content="initial-scale=1, maximum-scale=1" />
    <!-- site metas -->
    <title>轻态公寓·老年港湾</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <!-- site icons -->
    <link rel="icon" href="images/fevicon/fevicon.png" type="image/gif" />
    <!-- Owl Stylesheets -->
    <link rel="stylesheet" type="text/css" href="css/owl.carousel.min.css" />
    <!-- nice select css -->
    <link rel="stylesheet" type="text/css" href="css/nice-select.min.css" />
    <!-- bootstrap css -->
    <link
      rel="stylesheet"
      href="https://www.jq22.com/jquery/bootstrap-4.2.1.css"
    />
    <!-- Site css -->
    <link rel="stylesheet" href="css/style.css" />
    <!-- responsive css -->
    <link rel="stylesheet" href="css/responsive.css" />
    <!-- custom css -->
    <link rel="stylesheet" href="css/custom.css" />
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body id="default_theme" class="home_page">
    <!-- loader -->
    <div class="bg_load">
      <img class="loader_animation" src="images/loader.svg" alt="#" />
    </div>
    <!-- end loader -->

    <div id="app">
      <!-- hero area starts -->
      <div class="hero_area">
        <!-- header section starts -->
        <header class="header_section">
          <!-- navbar starts -->
          <nav class="navbar navbar-expand-lg header_navbar">
            <a class="navbar-brand" href="#">
              <img src="images/logo.png" alt="" />
              <span> 轻态公寓·老年港湾 </span>
            </a>
            <button
              class="navbar-toggler"
              type="button"
              data-toggle="collapse"
              data-target="#navbarSupportedContent"
              aria-controls="navbarSupportedContent"
              aria-expanded="false"
              aria-label="Toggle navigation"
            >
              <span class=""> </span>
            </button>

            <div class="collapse navbar-collapse" id="navbarSupportedContent">
              <ul class="navbar-nav ml-auto align-items-center">
                <li class="nav-item active">
                  <a class="nav-link" href="index.html"
                    >首页 <span class="sr-only">(current)</span></a
                  >
                </li>
                <li class="nav-item active">
                  <a class="nav-link" href="about.html">关于轻态 </a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="property.html"> 找房 </a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="order_list.html"> 我的订单 </a>
                </li>

                <li class="nav-item">
                  <a class="nav-link" href="contact.html"> 联系我们 </a>
                </li>
              </ul>
              <div class="user_option">
                <a href="user_info.html" class="user_login_link">
                  <svg
                    data-name="Layer 1"
                    xmlns="http://www.w3.org/2000/svg"
                    viewBox="0 0 518.95 441.44"
                  >
                    <defs>
                      <style>
                        .cls-1 {
                          isolation: isolate;
                        }
                      </style>
                    </defs>
                    <title>user-icon</title>
                    <g class="">
                      <path
                        class=""
                        d="M631.75,452.8A132.22,132.22,0,0,1,659,495.72H140.05q9.84-24.53,30.1-45.27,21.27-21.69,52.41-37.73,89.78-47.16,181.63-45.51T585.83,417.9Q613.32,433,631.75,452.8ZM322.2,73.15q-34.77,17.92-55,49.75A127.59,127.59,0,0,0,247,192.7a126.32,126.32,0,0,0,20.76,70,146.22,146.22,0,0,0,55.53,50.46q35.28,18.87,77.06,18.63t77.07-19.57q34.75-18.86,54.49-50,20.75-32.55,20.75-70.27t-21.27-69.8q-20.25-31.12-54.49-49a163.52,163.52,0,0,0-77.33-18.87Q357.49,54.28,322.2,73.15Z"
                        transform="translate(-140.05 -54.28)"
                      />
                    </g>
                  </svg>
                </a>
              </div>
            </div>
          </nav>
          <!-- navbar ends -->
        </header>
        <!-- header section ends -->
        <!-- slider section starts -->
        <section class="slider_section pl_mobile_20">
          <div class="section_bg section_bg_right"></div>
          <div class="name_design">
            <h6>RealEstate</h6>
          </div>
          <div id="customSlider1" class="carousel slide" data-ride="carousel">
            <div class="carousel-inner">
              <div class="carousel-item active">
                <div class="container">
                  <div class="row">
                    <div class="col-md-5">
                      <div class="detail-box mb_md_75">
                        <h1>
                          轻态公寓 <br />
                          为你而来
                        </h1>
                        <p>
                          轻态公寓致力于为有态度、乐观的中老年提供一站式居住解决方案，根据客群多样化的生活需求，推出独立别墅、LOFT户型、一房一厅、两房一厅等不同户型，打造“安心、健康、活力”的高品质居住空间与健康生活。这里寄托着中老年人人对“家”的情怀与乌托邦的梦，是可以安心停靠的温暖港湾。
                        </p>
                        <a href="contact.html" class="hero_btn">
                          <span> 联系我们 </span>
                          <span class="icon_span">
                            <svg
                              data-name="Layer 1"
                              xmlns="http://www.w3.org/2000/svg"
                              viewBox="0 0 331.64 322.79"
                            >
                              <defs>
                                <style>
                                  .cls-1 {
                                    isolation: isolate;
                                  }
                                </style>
                              </defs>
                              <title>right-arrow</title>
                              <g class="cls-1">
                                <path
                                  class=""
                                  d="M259.32,281.46H448.91l-70.75-70.74a13.44,13.44,0,0,1,0-17.69L408,163.73a12.05,12.05,0,0,1,17.68,0L574.38,312.42a12,12,0,0,1,0,17.68L425.69,478.79a12,12,0,0,1-17.68,0l-29.85-29.3a13.43,13.43,0,0,1,0-17.68l75.72-75.73H259.32a12.28,12.28,0,0,1-12.71-12.71V293.63a11.68,11.68,0,0,1,3.59-8.57A12.4,12.4,0,0,1,259.32,281.46Z"
                                  transform="translate(-246.61 -159.87)"
                                />
                              </g>
                            </svg>
                          </span>
                        </a>
                      </div>
                    </div>
                    <div class="col-md-7">
                      <div class="img-box">
                        <img
                          src="images/slider-img.png"
                          alt="Appartment Image"
                        />
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="carousel-item">
                <div class="container">
                  <div class="row">
                    <div class="col-md-5">
                      <div class="detail-box mb_md_75">
                        <h1>
                          轻态家宴 <br />
                          家宴分享
                        </h1>
                        <p>
                          家友把家的味道带到轻态与众人分享，在做饭的过程中互相切磋手艺，也在饭桌上交流彼此对家乡的思念，住在轻态的种种感受。
                        </p>
                        <a href="contact.html" class="hero_btn">
                          <span> 联系我们 </span>
                          <span class="icon_span">
                            <svg
                              id="Layer_1"
                              data-name="Layer 1"
                              xmlns="http://www.w3.org/2000/svg"
                              viewBox="0 0 331.64 322.79"
                            >
                              <defs>
                                <style>
                                  .cls-1 {
                                    isolation: isolate;
                                  }
                                </style>
                              </defs>
                              <title>right-arrow</title>
                              <g class="cls-1">
                                <path
                                  class=""
                                  d="M259.32,281.46H448.91l-70.75-70.74a13.44,13.44,0,0,1,0-17.69L408,163.73a12.05,12.05,0,0,1,17.68,0L574.38,312.42a12,12,0,0,1,0,17.68L425.69,478.79a12,12,0,0,1-17.68,0l-29.85-29.3a13.43,13.43,0,0,1,0-17.68l75.72-75.73H259.32a12.28,12.28,0,0,1-12.71-12.71V293.63a11.68,11.68,0,0,1,3.59-8.57A12.4,12.4,0,0,1,259.32,281.46Z"
                                  transform="translate(-246.61 -159.87)"
                                />
                              </g>
                            </svg>
                          </span>
                        </a>
                      </div>
                    </div>
                    <div class="col-md-7">
                      <div class="img-box">
                        <img
                          src="images/slider-img.png"
                          alt="Appartment Image"
                        />
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="carousel-item">
                <div class="container">
                  <div class="row">
                    <div class="col-md-5">
                      <div class="detail-box mb_md_75">
                        <h1>
                          轻态音乐节 <br />
                          音乐还家来
                        </h1>
                        <p>
                          城市的声音中包含了很多种元素，如果我们通过听觉的筛选，把声音一层一层的剥离开，再把声音分类，每个城市的声音面貌和特点就会呈现。而轻态属于比较另类的社区公寓，全国各地的人都聚集在这里，人群的属性也比较复杂。从方言的角度来说，轻态的声音比北京更多元一些，在北京不太经常能听到方言，但在轻态，各地的方言极其丰富，这也是一种独特的声音景观。
                        </p>
                        <a href="contact.html" class="hero_btn">
                          <span> 联系我们 </span>
                          <span class="icon_span">
                            <svg
                              data-name="Layer 1"
                              xmlns="http://www.w3.org/2000/svg"
                              viewBox="0 0 331.64 322.79"
                            >
                              <defs>
                                <style>
                                  .cls-1 {
                                    isolation: isolate;
                                  }
                                </style>
                              </defs>
                              <title>right-arrow</title>
                              <g class="cls-1">
                                <path
                                  class=""
                                  d="M259.32,281.46H448.91l-70.75-70.74a13.44,13.44,0,0,1,0-17.69L408,163.73a12.05,12.05,0,0,1,17.68,0L574.38,312.42a12,12,0,0,1,0,17.68L425.69,478.79a12,12,0,0,1-17.68,0l-29.85-29.3a13.43,13.43,0,0,1,0-17.68l75.72-75.73H259.32a12.28,12.28,0,0,1-12.71-12.71V293.63a11.68,11.68,0,0,1,3.59-8.57A12.4,12.4,0,0,1,259.32,281.46Z"
                                  transform="translate(-246.61 -159.87)"
                                />
                              </g>
                            </svg>
                          </span>
                        </a>
                      </div>
                    </div>
                    <div class="col-md-7">
                      <div class="img-box">
                        <img
                          src="images/slider-img.png"
                          alt="Appartment Image"
                        />
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="carousel-item">
                <div class="container">
                  <div class="row">
                    <div class="col-md-5">
                      <div class="detail-box mb_md_75">
                        <h1>
                          轻态公益 <br />
                          爱的纽带
                        </h1>
                        <p>
                          “看到孩子们开心的笑脸，感觉所做的这一切都是有意义的、都是值得的，感谢轻态提供的这次机会，希望多多组织这样的活动”
                        </p>
                        <a href="contact.html" class="hero_btn">
                          <span> 联系我们 </span>
                          <span class="icon_span">
                            <svg
                              data-name="Layer 1"
                              xmlns="http://www.w3.org/2000/svg"
                              viewBox="0 0 331.64 322.79"
                            >
                              <defs>
                                <style>
                                  .cls-1 {
                                    isolation: isolate;
                                  }
                                </style>
                              </defs>
                              <title>right-arrow</title>
                              <g class="cls-1">
                                <path
                                  class=""
                                  d="M259.32,281.46H448.91l-70.75-70.74a13.44,13.44,0,0,1,0-17.69L408,163.73a12.05,12.05,0,0,1,17.68,0L574.38,312.42a12,12,0,0,1,0,17.68L425.69,478.79a12,12,0,0,1-17.68,0l-29.85-29.3a13.43,13.43,0,0,1,0-17.68l75.72-75.73H259.32a12.28,12.28,0,0,1-12.71-12.71V293.63a11.68,11.68,0,0,1,3.59-8.57A12.4,12.4,0,0,1,259.32,281.46Z"
                                  transform="translate(-246.61 -159.87)"
                                />
                              </g>
                            </svg>
                          </span>
                        </a>
                      </div>
                    </div>
                    <div class="col-md-7">
                      <div class="img-box">
                        <img
                          src="images/slider-img.png"
                          alt="Appartment Image"
                        />
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <ol class="carousel-indicators main_indicator">
              <li
                data-target="#customSlider1"
                data-slide-to="0"
                class="active"
              ></li>
              <li data-target="#customSlider1" data-slide-to="1"></li>
              <li data-target="#customSlider1" data-slide-to="2"></li>
              <li data-target="#customSlider1" data-slide-to="3"></li>
            </ol>
            <ol class="carousel-indicators second_indicator">
              <li
                data-target="#carouselExampleIndicators"
                data-slide-to="0"
                class="active indicator-li-1"
              >
                01
              </li>
              <li data-target="#carouselExampleIndicators" data-slide-to="1">
                02
              </li>
              <li data-target="#carouselExampleIndicators" data-slide-to="2">
                03
              </li>
              <li data-target="#carouselExampleIndicators" data-slide-to="3">
                04
              </li>
            </ol>
          </div>
        </section>
        <!-- slider section ends -->
      </div>
      <!-- hero area ends -->

      <!-- property section starts-->

      <section
        class="property_section layout_padding layout_margin pr_mobile_20"
      >
        <div class="section_bg section_bg_left"></div>
        <div class="container-fluid max_width-1500">
          <div class="row">
            <div class="col-lg-10 mx-auto">
              <div class="heading_container">
                <h2>轻态房屋</h2>
                <p>
                  轻态公寓致力于为有态度、乐观的中老年提供一站式居住解决方案，根据客群多样化的生活需求，推出独立别墅、LOFT户型、一房一厅、两房一厅等不同户型，打造“安心、健康、活力”的高品质居住空间与健康生活。这里寄托着中老年人人对“家”的情怀与乌托邦的梦，是可以安心停靠的温暖港湾。
                </p>
              </div>
              <div class="row">
                <div
                  class="col-md-4 col-sm-6"
                  v-for="(item, index) in houseList"
                  :key="index"
                >
                  <div class="box">
                    <div class="number_box">
                      <h5>0{{index+1}}</h5>
                    </div>
                    <div class="img-box">
                      <img :src="item.cover" alt="Property Image" />
                    </div>
                    <div class="detail-box">
                      <h6>
                        <svg
                          data-name="Layer 1"
                          xmlns="http://www.w3.org/2000/svg"
                          viewBox="0 0 323.25 475.54"
                        >
                          <defs>
                            <style>
                              .cls-1 {
                                isolation: isolate;
                              }
                            </style>
                          </defs>
                          <title>位置</title>
                          <g class="cls-1">
                            <path
                              class=""
                              d="M397.29,537.57q-17.4-22.82-29.89-41.29-54.88-77.16-89.12-148.35Q267.4,325.1,261.44,308.8a265.19,265.19,0,0,1-12-40.75Q233.72,188.18,287,128.4q50.53-57.6,129.87-54.34a147.84,147.84,0,0,1,66.84,18.2,164.16,164.16,0,0,1,53.25,45.92,155.85,155.85,0,0,1,28.8,63.57,166.86,166.86,0,0,1-4.89,85.32q-23.37,73.35-77.7,156.5Q467.37,468,433.7,515.29l-22.83,32.07a12.16,12.16,0,0,0-1.63,1.9c-.36.54-1.72-.27-4.07-2.45A62.64,62.64,0,0,1,397.29,537.57Zm89.66-300a77,77,0,0,0-9-38.31,81.36,81.36,0,0,0-26.62-29.89,72,72,0,0,0-37.23-12.77A84.73,84.73,0,0,0,372,165.07a75,75,0,0,0-30.7,27.45q-11.42,17.92-12.5,41.29a69.89,69.89,0,0,0,9,38.31A84.82,84.82,0,0,0,365.23,302a69.32,69.32,0,0,0,37.49,12.23,81.72,81.72,0,0,0,41.3-8.43,75.29,75.29,0,0,0,30.43-27.44Q485.87,260.45,487,237.62Z"
                              transform="translate(-245.88 -73.88)"
                            />
                          </g>
                        </svg>
                        <span> {{item.address}} </span>
                      </h6>
                      <a @click="onToPropertyDetail(item)">
                        <span> 查看 </span>
                      </a>
                    </div>
                  </div>
                </div>
              </div>
              <div class="btn-box">
                <a href="property.html">
                  <span> See More </span>
                </a>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- property section ends -->

      <!-- about section starts -->

      <section class="about_section layout_padding">
        <div class="container">
          <div class="row">
            <div class="col-md-6">
              <div class="detail-box mb_md_75">
                <h2>关于轻态 <br /></h2>
                <p>
                  轻态公寓致力于为有态度、乐观的中老年提供一站式居住解决方案，根据客群多样化的生活需求，推出独立别墅、LOFT户型、一房一厅、两房一厅等不同户型，打造“安心、健康、活力”的高品质居住空间与健康生活。这里寄托着中老年人人对“家”的情怀与乌托邦的梦，是可以安心停靠的温暖港湾。
                </p>
                <a href="about.html">
                  <span> 查看 轻态 </span>
                </a>
              </div>
            </div>
            <div class="col-md-6">
              <div class="img-box">
                <img src="images/about-img.png" alt="About Image" />
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- about section ends -->

      <!-- footer section -->
      <footer class="footer_section">
        <p>轻态公寓 | 轻态港湾 | 轻态社区</p>
        <p>Copyright © 2024 轻态 ICP证浙B2-20160559</p>
      </footer>
      <!-- end  footer section -->
    </div>

    <!-- js section -->
    <!-- jQuery -->
    <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <!-- bootstrap js -->
    <script src="js/bootstrap.min.js"></script>
    <!-- owl slider -->
    <script src="js/owl.carousel.min.js"></script>
    <!-- nice select -->
    <script src="js/jquery.nice-select.min.js"></script>
    <!-- custom js -->
    <script src="js/custom.js"></script>
    <script src="js/vue@2.6.14.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script>
      new Vue({
        el: "#app",
        data: {
          houseList: [],
        },
        mounted() {},
        created() {
          this.getList();
        },
        methods: {
          getList() {
            axios
              .post("http://localhost:8080/api/houses/app/list", {
                page: 1,
                pageSize: 6,
              })
              .then((response) => {
                const res = response.data;
                if (res.code == 200) {
                  console.log("====", res.data.list);
                  this.houseList = res.data.list;
                } else if (response.data.code === 401) {
                  this.$confirm("你登录已过期，是否前去登录?", "提示", {
                    confirmButtonText: "确定",
                    cancelButtonText: "取消",
                    type: "warning",
                  }).then(() => {
                    window.location.href = "./login.html";
                  });
                }
              });
          },
          onToPropertyDetail(item) {
            window.location.href = `./property_detail.html?id=${item.id}`;
          },
        },
      });
    </script>
  </body>
</html>
